package com.ciaojian.core.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author neko
 * @since 2020-09-03
 */
@Data
public class OrderCommentVo implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer orderId;

    private Integer storeId;

    @TableField(exist = false)
    private String storeName;
    @TableField(exist = false)
    private String storeType;
    @TableField(exist = false)
    private String userPhone;
    @TableField(exist = false)
    private String orderNo;
    @TableField(exist = false)
    private BigDecimal payTotal;
    @TableField(exist = false)
    private BigDecimal total;

    private Integer workerId;

    private String workerName;

    private Integer userId;

    @TableField("user_nickName")
    private String userNickname;

    private String userAvatar;

    private String type;

    private String comment;

    private Integer score;

    private String proposal;

    private String img;

    @TableField(exist = false)
    private Integer firstStatus;    // 是否第一次购买0否-1是

    private Integer isShow;

//    @ApiModelProperty("创建时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private Date addTime;

    private String addTime;

    private Integer autoComment;

    @TableField(exist = false)
    private String goodsTotal;

    @ApiModelProperty("回访状态 0未回访 1已回访")
    private String status;

    @ApiModelProperty("是否统计 0不统计 1统计")
    private Boolean isSum;

    @ApiModelProperty("标签文字")
    private String tag;

}
